﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SuperKinhLuan.Games.PeerChess.GameLib
{
    public abstract class Piece
    {
        public Position Position { get; internal set; }
        public Board Board { get; internal set; }
       
        protected Piece()
        {
        }

        protected Piece(Position p)
        {
            this.Position = p;
        }

        //public abstract void MoveTo(Position newPosition);

        public abstract bool IsValidMove(Position newPosition);
    }
}